package com.df.bpm.mapper; 

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.df.bpm.dto.DtoRoleDepartment;
import org.apache.ibatis.annotations.Select;

public interface DtoRoleDepartmentMapper extends BaseMapper<DtoRoleDepartment> {

    @Select("SELECT * FROM [bpm].[dtoRoleDepartment] \n" +
            "WHERE [dtoRoleDepartment].roleId=${roleId} ")
    DtoRoleDepartment selectByRoleId(Integer roleId);
}